package xyz.fuqufyb.aec.service;

import xyz.fuqufyb.aec.data.JsonResult;
import xyz.fuqufyb.aec.entity.Role;

import java.util.List;
import java.util.Map;

public interface IRoleService {


    List<Role> getRoleListUserId(Integer userId);

    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    JsonResult getRolePage(Map<String, Object> maps);

    Integer updateAssignRole(Integer userId, List<Integer> asList);

    List<Role> getRoleList();


}